﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="insertLevel.ascx.cs" Inherits="Admin_UserControl_HocVien_insertLevel" %>
<%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>
<style type="text/css">
    .style1
    {
        width: 30%;
        height: 21px;
    }
    .style2
    {
        width: 40%;
    }
</style>
<script language="javascript" type="text/javascript">
    function CheckLayBangL2View(checkBool)
    { 
        document.getElementById("ctl11_cbxquantri").disabled = checkBool;
        document.getElementById("ctl11_cbxKetoan").disabled = checkBool;
        document.getElementById("ctl11_cbxTinhoc").disabled = checkBool;
        document.getElementById("ctl11_cbxtaichinh").disabled = checkBool;
        document.getElementById("ctl11_cbxluatkinhte").disabled = checkBool;
        document.getElementById("ctl11_cbxkhaclaybangLV2").disabled = checkBool;
        document.getElementById("ctl11_txtkhaclaybangLV2").disabled = checkBool;
    }
    function setBoxes() {
        

    }
    function CheckBoxforText(checkBool,text)
    {
        document.getElementById(text).disabled = checkBool;
    }
    
    function CheckLichhenLV3LV5(checkBool)
    {      
       if(checkBool)
       {
           document.getElementById("ctl11_txtlichhenLV3LV5").disabled = false;
           document.getElementById("ctl11_txtKhongLichHenLV3LV5").disabled = true;
       }
       else
       {
           document.getElementById("ctl11_txtlichhenLV3LV5").disabled = true;
           document.getElementById("ctl11_txtKhongLichHenLV3LV5").disabled = false;
       }
    }
</script>
<asp:Literal ID="ltScriptDrop" runat="server"></asp:Literal>
<table cellspacing="0" cellpadding="3" width="100%" border="0" style="background-color:White;">
	<tr>
		<td align="left" class="HeadingTree" >Bảng quản lý thông tin học viên</td>
		<td align="right" class="HeadingTree"><asp:HyperLink ID="hplCloseWindows" ImageUrl="~/images/BGLanguage/close.gif" runat="server"></asp:HyperLink> </td>
	</tr>
	<tr>
		<td  colspan="2">
		    <asp:validationsummary id="vdsHocVien" CssClass="cssManField" runat="server" Font-Bold="True" BorderWidth="0" />
		    <asp:label id="lblMess" CssClass="cssManField" runat="server" />
		</td>
	</tr>
	<tr>
		<td  colspan="2">
		    <asp:Panel ID="pbL1" runat="server" CssClass="cssLabelBold" GroupingText="1) Thông tin L1">
		        <table cellspacing="0" cellpadding="1" width="100%" border="0">
	               <tr>
		                <td align="right" style="width:16%;">
			                <asp:label id="lblMaHocVien" CssClass="cssLabel" runat="server"  Text="<U>M</U>ã ứng viên(*):" />
		                </td>
		                <td style="width:20%;" align="left">
		                    <asp:textbox id="txtMaHocVien" accessKey="n"    runat="server"  MaxLength="20" Width="98%" Enabled="False" />
		                </td>
		                <td style="width:3%;">
		                    <asp:customvalidator id="ctvMaHocVien" runat="server" ControlToValidate="txtMaHocVien" ErrorMessage="Bạn phải nhập mã ứng viên" Display="Static" Text="*" />
		                </td>
		                <td align="right" style="width:8%;">
			                <asp:label id="lblNguon" CssClass="cssLabel" runat="server" Text="<U>N</U>guồn:" />
		                </td>
		                <td style="width:20%;">
		                    <asp:DropDownList id="ddlNguon" runat="server" Width="98%" Enabled="false"
                            AutoPostBack="True" onselectedindexchanged="ddlNguon_SelectedIndexChanged" />
		                </td>
		                <td style="width:3%;"></td>
		                <td align="right" style="width:14%;">
			                <asp:label id="lblGhiChuNguon" CssClass="cssLabel" runat="server" Text="G<U>h</U>i chú nguồn:" />
		                </td>
		                <td style="width:20%;">
		                    <asp:textbox id="txtGhiChuNguon" accessKey="n" runat="server" MaxLength="256" Width="98%" />
		                </td>
		                <td style="width:3%;"></td>
	                </tr>
	                <tr>
		                <td align="right">
			                <asp:label id="lblHoTen" CssClass="cssLabel" runat="server" Text="<U>H</U>ọ và tên(*):" />
		                </td>
		                <td>
		                    <asp:textbox id="txtHoTen" accessKey="n" runat="server" MaxLength="128" Width="98%" />
		                </td>
		                <td>
		                    <asp:customvalidator id="ctvHoTen" runat="server" ControlToValidate="txtHoTen" ErrorMessage="Bạn phải nhập Họ và tên" Display="Static" Text="*" />
		                </td>
		                <td align="right">
			                <asp:label id="lblGioiTinh" CssClass="cssLabel" runat="server" Text="<U>G</U>iới tính:" />
		                </td>
		                <td>
		                    <asp:DropDownList id="ddlGioiTinh" runat="server" Width="98%">
                                <asp:ListItem Text="Nam" Value="true"></asp:ListItem>
                                <asp:ListItem Text="Nữ" Value="false"></asp:ListItem>
                            </asp:DropDownList>
		                </td>
		                <td></td>
		                <td align="right" style="width:14%;">
			                <asp:label id="lblNguoiTimNguon" CssClass="cssLabel" runat="server" Text="Ngư<U>ờ</U>i tìm nguồn:" />
		                </td>
		                <td style="width:30%;">
		                    <asp:DropDownList id="ddlNguoiTimNguon" runat="server" Width="90%" />
		                </td>
		                <td style="width:3%;"></td>
	                </tr>
	                <tr>
		                <td align="right">
			                <asp:label id="lblDienThoai" CssClass="cssLabel" runat="server" Text="<U>Đ</U>iện thoại 1(*):" />
                             <asp:HiddenField  ID="hdfUserId" runat="server"/>
                        <asp:HiddenField  ID="hdfCallID" runat="server"/>
                        <asp:HiddenField  ID="hdfUserName" runat="server"/>
                        <asp:HiddenField  ID="hdfStatioCode" runat="server"/>
                        <asp:HiddenField  ID="hdfDienThoaiCall" runat="server"/>
		                </td>
		                <td>
		                    <asp:textbox id="txtDienThoai" accessKey="n"   runat="server" MaxLength="64" Width="98%" />
		                </td>
		                <td>
                                <asp:ImageButton runat="server" ID="m_cmd_img_call_1" 
                                 ImageUrl="~/images/Button/phone.png" Width="30px" 
                                 onclick="m_cmd_img_call_1_Click" Visible="false" />
		                     <asp:customvalidator id="ctvDienThoai" runat="server" ControlToValidate="txtDienThoai" ErrorMessage="Bạn phải nhập Điện thoại" Display="Static" Text="*" />
		                </td>
		                <td align="right">
			                <asp:label id="lblEmail" CssClass="cssLabel" runat="server" Text="<U>E</U>mail 1:" />
		                </td>
		                <td align="left" >
		                    <asp:textbox id="txtEmail" accessKey="n"   runat="server" MaxLength="64" Width="97%" />
		                </td>
		                <td></td>
		                <td align="right">
			                <asp:label id="lblNgaySinh" runat="server" CssClass="cssLabel" Text="Ng<U>à</U>y sinh:" />
                			
		                </td>
		                <td style="width:30%";>
                        <ew:CalendarPopup ID="txtNgaySinh" runat="server" CalendarLocation="Bottom" 
                Culture="Vietnamese (Vietnam)" Text="Chọn" DisableTextboxEntry="false" 
                Width="70" AllowArbitraryText="False" ControlDisplay="TextBoxImage" 
                ImageUrl="~/js/cal.gif" CellPadding="0px" Nullable="True"
                VisibleDate="">
                <SelectedDateStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Black" />
                <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <MonthHeaderStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Black" />
                <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <OffMonthStyle BackColor="AntiqueWhite" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Gray" />
                <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <TodayDayStyle BackColor="LightGoldenrodYellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Black" />
         </ew:CalendarPopup>	
                    </td>
		                <td></td>
	                </tr>
                    <tr>
        <td align="right">
			<asp:label id="lblDienThoai2" CssClass="cssLabel"  runat="server" Text="<U>Đ</U>iện thoại 2:" />
		</td>
        <td>
		    <asp:textbox id="txtDienThoai2" accessKey="n"  class="positive-integer"  runat="server" MaxLength="64" Width="98%" />
		</td>
        <td >
			<asp:ImageButton runat="server" ID="m_cmd_img_call2" 
                ImageUrl="~/images/Button/phone.png" Width="30px" Visible="false" 
                onclick="m_cmd_img_call2_Click" />
		</td>
        <td align="right">
			<asp:label id="lblEmail2" CssClass="cssLabel" runat="server" Text="<U>E</U>mail 2:" />
		</td>

		<td align="left" >
		    <asp:textbox id="txtEmail2" accessKey="n"   runat="server" MaxLength="64" Width="97%" />
		</td>
    </tr>
                    <tr>
                        <td align="right" style="width:8%;">
			                <asp:label id="lblTruong" CssClass="cssLabel" runat="server" Text="Trường Chăm Sóc:" />
		                </td>
		                <td style="width:20%;">
		                    <asp:DropDownList id="ddlTruong" runat="server" Width="98%" AutoPostBack="true" 
                                onselectedindexchanged="ddlTruong_SelectedIndexChanged"/>
		                </td>
                    </tr>
	                <tr>
	                    <td align="right">
			                <asp:label id="lblDiaChiThu" CssClass="cssLabel" runat="server" Text="Đ<U>ị</U>a chỉ nhận thư<BR>(giấy báo,hồ sơ,điểm):" />
		                </td>
	                    <td colspan="7" align="left">
	                        <asp:textbox id="txtDiaChiThu" accessKey="n"   runat="server" MaxLength="256" Width="98%" Rows="1" TextMode="MultiLine" />
                        </td>
                        <td style="width:3%;">
                            <asp:customvalidator id="ctvDiaChiThu" runat="server" ControlToValidate="txtDiaChiThu" ErrorMessage="Bạn phải nhập Địa chỉ nhận thư" Display="Static" Text="*" />
                        </td>
	                </tr>
	                <tr>
	                    <td align="right">
                            <asp:label id="lblDiLam" CssClass="cssLabel" runat="server" Text="Đi <U>l</U>àm chưa?Ở đâu? Làm gì:" />
                        </td>
                        <td colspan="7" align="left">
                            <asp:textbox id="txtDiLam" accessKey="n"   runat="server" MaxLength="1024" Width="98%" Rows="2" TextMode="MultiLine" />
                        </td>
                        <td style="width:3%;">
                            <asp:CustomValidator id="ctvDiLam" runat="server" ControlToValidate="txtDiLam" ErrorMessage="Bạn phải nhập Nơi làm việc" Display="Static" Text="(*)" />
                        </td>
		                <td></td>
	                </tr>
                </table>
		    </asp:Panel>
		</td>
	</tr>
	<tr>
		<td  colspan="2">
		    <asp:Panel ID="pnL2" runat="server" CssClass="cssLabelBold" GroupingText="2) Thông tin L2">
		        <table cellspacing="0" cellpadding="1" width="100%" border="0">
	                <tr>
		                <td align="left" colspan="4" style="padding-left:20px;">
			                <asp:Label ID="Label2" runat="server" CssClass="cssLabelTitle" Text="Đã tốt nghiệp (*) (đánh dấu V vào ô phù hợp)"></asp:Label>
		                </td>
	                </tr>
	                <tr>
		                <td align="right" style="width:10%;">
			                <asp:CheckBox ID="cbxCD" runat="server" TextAlign="Left" 
                                OnClick="JavaScript:ToggleInput(this,'ctl11_txtCD');" CssClass="cssLabel"  
                                Text="CĐ:" />
                                
		                </td>
		                <td style="width:40%;">
		                    <asp:textbox id="txtCD" accessKey="n" runat="server" MaxLength="256" Width="95%" />
		                </td>
		                <td align="right" style="width:12%;">
			                <asp:CheckBox ID="cbxPTTH" runat="server" TextAlign="Left" OnClick="JavaScript:ToggleInput(this,'ctl11_txtPTTH');" CssClass="cssLabel"  Text="PTTH:" />
		                </td>
		                <td style="width:40%;">
		                    <asp:textbox id="txtPTTH" accessKey="n" runat="server"  MaxLength="256" Width="95%" />
		                </td>	
	                </tr>
	                <tr>
		                <td align="right">
			                <asp:CheckBox ID="cbxDH" runat="server" TextAlign="Left" CssClass="cssLabel" Text="ĐH:" OnClick="JavaScript:ToggleInput(this,'ctl11_txtDH');"   />
		                </td>
		                <td>
		                    <asp:textbox id="txtDH" accessKey="n" runat="server"  MaxLength="256" Width="95%" />
		                </td>
		                <td align="right">
			                <asp:CheckBox ID="cbxTrungCap" TextAlign="Left" runat="server" CssClass="cssLabel" Text="Trung cấp:" OnClick="JavaScript:ToggleInput(this,'ctl11_txtTrungCap');" />
		                </td>
		                <td class="style1">
		                    <asp:textbox id="txtTrungCap" accessKey="n" runat="server" MaxLength="256" Width="95%" />
		                </td>		
	                </tr>
	                <tr>
		                <td align="right" style="width:14%;">
			                <asp:CheckBox ID="cbxKhactotnghiep" TextAlign="Left" runat="server"  CssClass="cssLabel" Text="Khác (ghi rõ):" OnClick="JavaScript:ToggleInput(this,'ctl11_txtKhactotnghiepLV2');" />
		                </td>
		                <td colspan="3">
		                    <asp:textbox id="txtKhactotnghiepLV2" accessKey="n"   runat="server" MaxLength="512" Width="98%" />
		                </td>		
	                </tr>
	                <tr>
		                <td style="height:3px;" colspan="4">
		                </td>	
	                </tr>
	                <tr>
	                    <td colspan="4">
	                        <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
	                            <tr>
	                                <td align="left" style="width:40%;">
			                            <asp:Label ID="Label3" runat="server" CssClass="cssLabelTitle" Text="Muốn học tiếp lấy bằng cử nhân không (*) ?"></asp:Label>&nbsp;&nbsp; 	                
		                            </td>
		                            <td>	
			                            <asp:RadioButton ID="rdbCoLV2" runat="server" CssClass="cssLabel" AutoPostBack="true"
                                            OnClick="JavaScript:CheckLayBangL2View(false);" 
                                            Text="Có (Đánh dấu rõ ngành nào)" GroupName="LayBangL2" 
                                            oncheckedchanged="rdbCoLV2_CheckedChanged" />	
			                            <asp:RadioButton ID="rdbKhongLV2" runat="server" CssClass="cssLabel" AutoPostBack="true"
                                            OnClick="JavaScript:CheckLayBangL2View(true);" Text="Không" 
                                            GroupName="LayBangL2" oncheckedchanged="rdbKhongLV2_CheckedChanged" />	
		                             </td>
	                            </tr>
	                        </table>
	                    </td>		                
	                </tr>
	                <tr>
		                <td align="left" colspan="4">
		                    <table cellpadding="1" cellspacing="0" border="0" style="width:100%;">
		                        <tr>
		                            <td align="left" style="width:20%;">		                                
                                        <span class="cssLabel" >Quản trị kinh doanh</span>
                                        <input type="checkbox" runat="server" id="cbxquantri" name="cbxquantri" >
			                        </td>
		                            <td style="width:20%;">  
		                                <span class="cssLabel" >Kế toán</span>
                                        <input type="checkbox" runat="server" id="cbxKetoan" name="cbxKetoan" >
		                            </td>         
		                           <td style="width:20%;">  
		                                <span class="cssLabel" >Công nghệ thông tin</span>
                                        <input type="checkbox" runat="server" id="cbxTinhoc" name="cbxTinhoc" >
		                            </td>	
		                           <td style="width:20%;">   
		                                <span class="cssLabel" >Tài chính ngân hàng</span>
                                        <input type="checkbox" runat="server" id="cbxtaichinh" name="cbxtaichinh" >    
		                           </td>
                                   <td style="width:20%;">   
		                                <span class="cssLabel" >Luật kinh tế</span>
                                        <input type="checkbox" runat="server" id="cbxluatkinhte" name="cbxluatkinhte" >    
		                           </td>
		                        </tr>
		                        <tr>
		                            <td> 
		                                <span class="cssLabel" >Khác/Ghi chú thêm(ghi rõ):</span>
                                        <input type="checkbox" runat="server" id="cbxkhaclaybangLV2" name="cbxkhaclaybangLV2" onclick="JavaScript:ToggleInput(this,'ctl11_txtkhaclaybangLV2');" >
		                            </td>
		                             <td colspan="3"> 
		                                   <asp:textbox id="txtkhaclaybangLV2" accessKey="n" runat="server" MaxLength="512" Width="98%" Enabled="False" />
		                            </td>
		                        </tr>
		                        <tr>
		                            <td style="height:3px;" colspan="4"></td>
		                        </tr>
		                      
		                        <tr>
		                            <td> 
		                                  <asp:Label ID="lblNgayGoiLV2" CssClass="cssLabel" runat="server" Text="Ngày gọi gần nhất:" />	
		                            </td>
		                             <td colspan="3"> 
		                                <ew:CalendarPopup ID="txtNgayGoiLV2" runat="server" CalendarLocation="Bottom" Culture="Vietnamese (Vietnam)"
                                            GoToTodayText="Ngày hiện tại: " ShowGoToToday="True" Text="Chọn" DisableTextboxEntry="false"
                                            Width="70" AllowArbitraryText="False" ControlDisplay="TextBoxImage" 
                                            ImageUrl="~/js/cal.gif">
                                            <SelectedDateStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                                Font-Size="XX-Small" ForeColor="Black" />
                                            <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <MonthHeaderStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                                Font-Size="XX-Small" ForeColor="Black" />
                                            <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <OffMonthStyle BackColor="AntiqueWhite" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                                Font-Size="XX-Small" ForeColor="Gray" />
                                            <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <TodayDayStyle BackColor="LightGoldenrodYellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                                Font-Size="XX-Small" ForeColor="Black" />
                                        </ew:CalendarPopup>		                                  
		                            </td>
		                        </tr>
		                       
		                    </table>
		                </td>
	                </tr>
                     <tr>
                                    <td colspan="4" style="height:3px;">
                                        <asp:Panel ID="m_pnl_L2_history_1" runat="server" 
                                            GroupingText="Lịch sử cuộc gọi">
                                            <table width="100%">
                                                <tr>
                                                    <td>
                                                        <!-- đoạn này là lưới lịch sử gọi L2 -->
                                                        <asp:GridView ID="grvLichSuCuocGoiL2" runat="server" 
                                                            AlternatingRowStyle-CssClass="cssGridAlterCell" AutoGenerateColumns="False" 
                                                            BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" 
                                                            CellPadding="3" DataKeyNames="ID" 
                                                            EmptyDataText="Chưa có lịch sử gọi ứng với vùng level này" 
                                                            EnableModelValidation="True" onrowdatabound="grvLichSuCuocGoiL2_RowDataBound" 
                                                            PagerStyle-HorizontalAlign="Center" PageSize="16" 
                                                            RowStyle-CssClass="cssGridCell" SelectedRowStyle-CssClass="cssSelectedRow" 
                                                            Width="100%">
                                                            <EditRowStyle CssClass="cssGridEdit" />
                                                            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                                                            <HeaderStyle BackColor="#810C15" Font-Bold="True" ForeColor="#F7F7F7" />
                                                            <PagerSettings Position="TopAndBottom" />
                                                            <AlternatingRowStyle BackColor="#F7F7F7" CssClass="cssGridAlterCell" />
                                                            <Columns>
                                                                <asp:TemplateField HeaderStyle-ForeColor="White" HeaderText="STT" 
                                                                    ItemStyle-HorizontalAlign="Center">
                                                                    <HeaderStyle ForeColor="White" />
                                                                    <ItemTemplate>
                                                                        <%# Container.DataItemIndex  + 1 %>
                                                                    </ItemTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                                </asp:TemplateField>
                                                                <asp:BoundField DataField="MobilePhone" HeaderStyle-ForeColor="White" 
                                                                    HeaderText="Số điện thoại" ItemStyle-HorizontalAlign="Center">
                                                                <HeaderStyle ForeColor="White" />
                                                                <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="StartTime" DataFormatString="{0:dd/MM/yyyy hh:mm}" 
                                                                    HeaderStyle-ForeColor="White" HeaderText="Thời gian bắt đầu" 
                                                                    ItemStyle-HorizontalAlign="Center">
                                                                <HeaderStyle ForeColor="White" />
                                                                <ItemStyle HorizontalAlign="Center" Width="15%" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="EndTime" DataFormatString="{0:dd/MM/yyyy hh:mm}" 
                                                                    HeaderStyle-ForeColor="White" HeaderText="Thời gian kết thúc" 
                                                                    ItemStyle-HorizontalAlign="Center">
                                                                <HeaderStyle ForeColor="White" />
                                                                <ItemStyle HorizontalAlign="Center" Width="15%" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="NoiDungCuocGoi" HeaderStyle-ForeColor="White" 
                                                                    HeaderText="Nội dung cuộc gọi">
                                                                <ItemStyle HorizontalAlign="Center" Width="30%" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="Duration" DataFormatString="{0:N0}" 
                                                                    HeaderStyle-ForeColor="White" HeaderText="Thời gian gọi (giây)" 
                                                                    SortExpression="TenTruong">
                                                                <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                </asp:BoundField>
                                                                <asp:TemplateField HeaderText="Nghe lại">
                                                                    <ItemTemplate>
                                                                        <audio id="player3" controls="controls" 
                                                                            src='<%# get_file_record(Eval("ID")) %>' type="audio/x-wav">
                                                                        </audio>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:HyperLinkField DataNavigateUrlFields="ID" 
                                                                    DataNavigateUrlFormatString="~/FileCS.ashx?Id={0}" HeaderText="Download" 
                                                                    ItemStyle-HorizontalAlign="Center" ItemStyle-Width="6%" Text="Download" />
                                                            </Columns>
                                                            <PagerStyle BackColor="#810C15" CssClass="cssGridPager" ForeColor="#4A3C8C" 
                                                                HorizontalAlign="Right" />
                                                            <RowStyle BackColor="#E7E7FF" CssClass="cssGridCell" ForeColor="#4A3C8C" />
                                                            <SelectedRowStyle BackColor="#738A9C" CssClass="cssSelectedRow" 
                                                                Font-Bold="True" ForeColor="#F7F7F7" />
                                                        </asp:GridView>
                                                        <!-- đoạn này là lưới lịch sử gọi L2 -->
                                                    </td>
                                                </tr>
                                            </table>
                                        </asp:Panel>
                                    </td>
                                </tr>
                </table>
		    </asp:Panel>
		</td>
	</tr>
	<tr>
		<td  colspan="2">
		    <asp:Panel ID="pnL3_5B" runat="server" CssClass="cssLabelBold" GroupingText="3) Thông tin L3-L5B">
		        <table cellspacing="0" cellpadding="1" width="100%" border="0">
                  <tr>
	                    <td colspan="2">
	                        <table cellpadding="0" cellspacing="0" border="0 " style="width:100%;">
                                <tr>
                                    <td  colspan="2">
                                        <asp:Label ID="Label9" runat="server" CssClass="cssLabelTitle" Text=" Đã nhận đươc GF30 chưa?" />	
                                    </td>
                                </tr>	
                                <tr>

                                   <td style="padding-left:12px;width:26%;">	                                     
                                            <asp:RadioButton ID="rbldanhanGF300" runat="server" CssClass="cssLabel" AutoPostBack="true"
                                               
                                                Text="Rồi" GroupName="danhanGF300" 
                                                oncheckedchanged="rbldanhanGF300_CheckedChanged" />	
		                                    <asp:RadioButton ID="rblchuanhanGF300" runat="server" CssClass="cssLabel" AutoPostBack="true"
                                               
                                                Text="Chưa " GroupName="danhanGF300" 
                                                oncheckedchanged="rblchuanhanGF300_CheckedChanged" />	                                                                                                               
	                                    </td>
                                    <td>                                         
                                      
                                               	  
                                    </td>
                                </tr>
	                        </table>
	                    </td>
	                </tr>

	                <tr>
		                <td align="left" colspan="2" >
			                <asp:Label ID="Label4" runat="server" CssClass="cssLabelTitle" Text="Hẹn trực tiếp hay chuyển khoản? (*)"></asp:Label>
		                </td>
	                </tr>	                
	                <tr>
	                    <td style="width:23%;">
	                        <asp:RadioButton ID="rdbLichhenLV3LV5" runat="server" CssClass="cssLabel"
                            OnClick="JavaScript:CheckLichhenLV3LV5(true);" Text="Có (ghi rõ lịch hẹn gặp)"
                             GroupName="KhongtoigapL3L5" />	
	                    </td>
			            <td>			            
                             <asp:textbox id="txtlichhenLV3LV5" accessKey="n" runat="server" MaxLength="256" Width="98%" Enabled="False" />
                        </td>
                    </tr>                        
	                <tr>
	                    <td style="width:23%;">
	                        <asp:RadioButton ID="rdbKhongLichhenLV3LV5" runat="server"
                            CssClass="cssLabel" OnClick="JavaScript:CheckLichhenLV3LV5(false);" 
                            Text="Không (ghi rõ lý do)" GroupName="KhongtoigapL3L5" />	
	                    </td>    
			            <td>
                             <asp:textbox id="txtKhongLichHenLV3LV5" accessKey="n" runat="server"  MaxLength="256" Width="98%" Enabled="False" />	                                
	                    </td>
	                </tr>
	                <tr>
		                <td align="left">
			                <asp:Label ID="lblGoilai" runat="server" CssClass="cssLabel" Text="Có nên gọi lại không? Khi nào? (ghi rõ)"></asp:Label>
		                </td>
		                <td>
		                    <asp:textbox id="txtGoilaiLV3LV5" accessKey="n" runat="server" MaxLength="256" Width="98%" />
		                </td>
                        <%--<td style="width:3%;">
                                        <asp:RequiredFieldValidator id="rfvGoilaiLV3LV5" runat="server" ControlToValidate="txtGoilaiLV3LV5" ErrorMessage="Bạn phải nhập Có nên gọi lại không? Khi nào" Display="Static" Text="(*)" />
                       </td>--%>		
	                </tr>
	                <tr>
		                <td colspan="2">
		                   
		                </td>	
	                </tr>	
	                <tr>
	                    <td style="height:3px;" colspan="2"></td>
	                </tr>

	                <tr>
	                    <td colspan="2">
	                        <table cellpadding="0" cellspacing="0" border="0 " style="width:100%;">
                                <tr>
                                    <td  colspan="2">
                                        <asp:Label ID="Label6" runat="server" CssClass="cssLabelTitle" Text="Tới gặp trực tiếp chưa ? (*)" />	
                                    </td>
                                </tr>	
                                <tr>
                                    <td style="width:25%;">
                                        <asp:RadioButton ID="rblRoigaptructiepLV3LV5" runat="server" AutoPostBack="true"
                                            CssClass="cssLabel" OnClick="JavaScript:CheckBoxforText(true,'ctl11_txtlydochuagapLV3LV5');" 
                                        Text="Rồi" GroupName="ChuatoigaptructiepLV3LV5" 
                                            oncheckedchanged="rblRoigaptructiepLV3LV5_CheckedChanged" />	
			                            <asp:RadioButton ID="rblChuatoigaptructiepLV3LV5" runat="server" AutoPostBack="true"
                                            CssClass="cssLabel" 
                                            OnClick="JavaScript:CheckBoxforText(false,'ctl11_txtlydochuagapLV3LV5');" 
                                            Text="Chưa (ghi rõ lý do):" GroupName="ChuatoigaptructiepLV3LV5" 
                                            oncheckedchanged="rblChuatoigaptructiepLV3LV5_CheckedChanged" />	                                         
                                    </td>
                                    <td>                                         
                                        <asp:textbox id="txtlydochuagapLV3LV5" accessKey="n"   runat="server" MaxLength="256" Width="98%" Enabled="False"/>
                                               	  
                                    </td>
                                </tr>
	                        </table>
	                    </td>
	                </tr>
                     <tr>
	                    <td colspan="2">
	                        <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
	                            <tr>
                                     <td style="width:25%;">
                                         <asp:Label ID="lblnengoilaigap" runat="server" CssClass="cssLabel" Text="Có nên gọi lại không? Khi nào? (ghi rõ)" />	
                                    </td>
                                     <td>
                                         <asp:textbox id="txtnengoilaigapLV3LV5" accessKey="n" runat="server" MaxLength="256" Width="98%"/>
                                    </td>
                                </tr>               
	                        </table>
	                    </td>
	                </tr>
                   

	               
	                <tr>
	                     <td colspan="2">
                            <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                                <tr>
                                    <td colspan="2" >
                                        <asp:Label ID="Label7" runat="server" CssClass="cssLabelTitle" Text="Đăng ký dự tuyển chưa (100K)? (*)" />	
                                    </td>
                                </tr>	
                                <tr>
                                    <td style="width:25%;">
                                         <asp:RadioButton ID="rdblCodangkydutuyenLV3LV5" runat="server" AutoPostBack="true"
                                             CssClass="cssLabel" 
                                             OnClick="JavaScript:CheckBoxforText(true,'ctl11_txtdangkydutuyenLV3LV5');" 
                                             Text="Có" GroupName="DangkydutuyenLV3LV5" 
                                             oncheckedchanged="rdblCodangkydutuyenLV3LV5_CheckedChanged" />	
		                                 <asp:RadioButton ID="rdblKhongdangkydutuyenLV3LV5" runat="server" AutoPostBack="true"
                                             CssClass="cssLabel" 
                                             OnClick="JavaScript:CheckBoxforText(false,'ctl11_txtdangkydutuyenLV3LV5');" 
                                             Text="Không (ghi rõ lý do):" GroupName="DangkydutuyenLV3LV5" 
                                             oncheckedchanged="rdblKhongdangkydutuyenLV3LV5_CheckedChanged" />	                                         
                                    </td>
                                     <td>
                                           <asp:textbox id="txtdangkydutuyenLV3LV5" accessKey="n" runat="server" MaxLength="256" Width="98%" Enabled="False"/>
                                    </td>  
                                </tr>                                 
                            </table>
                        </td>
	                </tr>
	                <tr>
	                    <td colspan="2">
	                        <table cellpadding="1" cellspacing="0" border="0" style="width:100%;">
	                            <tr>
	                                    <td style="width:34%;">
	                                        <asp:Label ID="Label8" runat="server" CssClass="cssLabelTitle" Text="Nộp phiếu đăng ký dự tuyển (F30) chưa? (*)" />	
	                                    </td>
	                                    <td style="padding-left:12px;width:26%;">	                                     
                                            <asp:RadioButton ID="rdblRoiNopPhieuLV3LV5" runat="server" CssClass="cssLabel" AutoPostBack="true"
                                                OnClick="JavaScript:CheckBoxforText(true,'ctl11_txtchuanopphieuLV3LV5');" 
                                                Text="Rồi" GroupName="NopPhieuLV3LV5" 
                                                oncheckedchanged="rdblRoiNopPhieuLV3LV5_CheckedChanged" />	
		                                    <asp:RadioButton ID="rdblChuaNopPhieuLV3LV5" runat="server" CssClass="cssLabel" AutoPostBack="true"
                                                OnClick="JavaScript:CheckBoxforText(false,'ctl11_txtchuanopphieuLV3LV5');" 
                                                Text="Chưa (ghi rõ lý do):" GroupName="NopPhieuLV3LV5" 
                                                oncheckedchanged="rdblChuaNopPhieuLV3LV5_CheckedChanged" />	                                                                                                               
	                                    </td>
	                                    <td>
	                                          <asp:textbox id="txtchuanopphieuLV3LV5" accessKey="n" runat="server" MaxLength="256" Width="97%" Enabled="False"/>
	                                    </td>
	                             </tr>	
	                             <tr>
	                                 <td>
	                                    <asp:Label ID="lblconengoilaidangky" runat="server" CssClass="cssLabel" Text="Có nên gọi lại không? Khi nào? (ghi rõ)" />	
	                                 </td>    	                 
	                                  <td colspan="2">
	                                     <asp:textbox id="txtnengoilaidangkyLV3LV5" accessKey="n"  
                                               runat="server" 
                                              MaxLength="256" Width="98%"/>
	                                  </td>
	                             </tr>  
                               
		                        <tr>
		                            <td> 
		                                  <asp:Label ID="lblNgayGoiGanNhatLV3LV5" CssClass="cssLabel" runat="server" Text="Ngày gọi gần nhất:" />	
		                            </td>
		                             <td colspan="2"> 
		                              <ew:CalendarPopup ID="txtNgayGoiGanNhatLV3LV5" runat="server" CalendarLocation="Bottom" Culture="Vietnamese (Vietnam)"
                                            GoToTodayText="Ngày hiện tại: " ShowGoToToday="True" Text="Chọn" DisableTextboxEntry="false"
                                            Width="70" AllowArbitraryText="False" ControlDisplay="TextBoxImage" 
                                            ImageUrl="~/js/cal.gif">
                                            <SelectedDateStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                                Font-Size="XX-Small" ForeColor="Black" />
                                            <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <MonthHeaderStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                                Font-Size="XX-Small" ForeColor="Black" />
                                            <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <OffMonthStyle BackColor="AntiqueWhite" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                                Font-Size="XX-Small" ForeColor="Gray" />
                                            <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                                ForeColor="Black" />
                                            <TodayDayStyle BackColor="LightGoldenrodYellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                                Font-Size="XX-Small" ForeColor="Black" />
                                        </ew:CalendarPopup>	
		                                   
		                            </td>
		                        </tr>
		                       
	                        </table>
	                    </td>
	                </tr>
                     <tr>
		                            <td colspan="2" style="height:3px;">
                                        <asp:Panel ID="m_pn_l35b_his1" runat="server" GroupingText="Lịch sử cuộc gọi">
                                            <table width="100%">
                                                <tr>
                                                    <td>
                                                        <!-- đoạn này là lưới lịch sử gọi L3-5B -->
                                                        <asp:GridView ID="grvLichSuGoiL35B" runat="server" 
                                                            AlternatingRowStyle-CssClass="cssGridAlterCell" AutoGenerateColumns="False" 
                                                            BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" 
                                                            CellPadding="3" DataKeyNames="ID" 
                                                            EmptyDataText="Chưa có lịch sử gọi ứng với vùng level này" 
                                                            EnableModelValidation="True" onrowdatabound="grvLichSuGoiL35B_RowDataBound" 
                                                            PagerStyle-HorizontalAlign="Center" PageSize="16" 
                                                            RowStyle-CssClass="cssGridCell" SelectedRowStyle-CssClass="cssSelectedRow" 
                                                            Width="100%">
                                                            <EditRowStyle CssClass="cssGridEdit" />
                                                            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                                                            <HeaderStyle BackColor="#810C15" Font-Bold="True" ForeColor="#F7F7F7" />
                                                            <PagerSettings Position="TopAndBottom" />
                                                            <AlternatingRowStyle BackColor="#F7F7F7" CssClass="cssGridAlterCell" />
                                                            <Columns>
                                                                <asp:TemplateField HeaderStyle-ForeColor="White" HeaderText="STT" 
                                                                    ItemStyle-HorizontalAlign="Center">
                                                                    <HeaderStyle ForeColor="White" />
                                                                    <ItemTemplate>
                                                                        <%# Container.DataItemIndex  + 1 %>
                                                                    </ItemTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                                </asp:TemplateField>
                                                                <asp:BoundField DataField="MobilePhone" HeaderStyle-ForeColor="White" 
                                                                    HeaderText="Số điện thoại" ItemStyle-HorizontalAlign="Center">
                                                                <HeaderStyle ForeColor="White" />
                                                                <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="StartTime" DataFormatString="{0:dd/MM/yyyy hh:mm}" 
                                                                    HeaderStyle-ForeColor="White" HeaderText="Thời gian bắt đầu" 
                                                                    ItemStyle-HorizontalAlign="Center">
                                                                <HeaderStyle ForeColor="White" />
                                                                <ItemStyle HorizontalAlign="Center" Width="15%" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="EndTime" DataFormatString="{0:dd/MM/yyyy hh:mm}" 
                                                                    HeaderStyle-ForeColor="White" HeaderText="Thời gian kết thúc" 
                                                                    ItemStyle-HorizontalAlign="Center">
                                                                <HeaderStyle ForeColor="White" />
                                                                <ItemStyle HorizontalAlign="Center" Width="15%" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="NoiDungCuocGoi" HeaderStyle-ForeColor="White" 
                                                                    HeaderText="Nội dung cuộc gọi">
                                                                <ItemStyle HorizontalAlign="Center" Width="30%" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="Duration" DataFormatString="{0:N0}" 
                                                                    HeaderStyle-ForeColor="White" HeaderText="Thời gian gọi (giây)" 
                                                                    SortExpression="TenTruong">
                                                                <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                </asp:BoundField>
                                                                <asp:TemplateField HeaderText="Nghe lại">
                                                                    <ItemTemplate>
                                                                        <%--<audio src='<%# get_file_record(Eval("ID")) %>' controls="controls" preload="auto" type="audio/x-wav"></audio>--%>
                                                                        <%--  <embed src='<%# get_file_record(Eval("ID")) %>' 
                                                                            height="100" autostart="false"></embed>--%>
                                                                        <%--<audio id="player1" src='<%# get_file_record(Eval("ID")) %>' type="audio/mp3" controls="controls"></audio>--%>
                                                                        <audio id="player3" controls="controls" 
                                                                            src='<%# get_file_record(Eval("ID")) %>' type="audio/x-wav">
                                                                        </audio>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:HyperLinkField DataNavigateUrlFields="ID" 
                                                                    DataNavigateUrlFormatString="~/FileCS.ashx?Id={0}" HeaderText="Download" 
                                                                    ItemStyle-HorizontalAlign="Center" ItemStyle-Width="6%" Text="Download" />
                                                            </Columns>
                                                            <PagerStyle BackColor="#810C15" CssClass="cssGridPager" ForeColor="#4A3C8C" 
                                                                HorizontalAlign="Right" />
                                                            <RowStyle BackColor="#E7E7FF" CssClass="cssGridCell" ForeColor="#4A3C8C" />
                                                            <SelectedRowStyle BackColor="#738A9C" CssClass="cssSelectedRow" 
                                                                Font-Bold="True" ForeColor="#F7F7F7" />
                                                        </asp:GridView>
                                                        <!-- đoạn này là lưới lịch sử gọi L3-6 -->
                                                    </td>
                                                </tr>
                            </table>
		                </asp:Panel>
		            </td>
	            </tr>
        <tr>
        <td colspan="2">
            <span id="lable_upload" runat="server" Visible="false">File đính kèm  1:</span>
        
            <asp:FileUpload ID="m_up_file_hocvien"  runat="server" Visible="false"/>
             <asp:HyperLink ID="m_link_file" runat="server" Visible="false"
              Target="_blank" Text="File Học Viên"></asp:HyperLink>  
        </td>

    </tr>
                 </table>
		    </asp:Panel>
             </td>
	            </tr>
	<tr>
		<td  colspan="2">
		    <asp:Panel ID="pnL6_8" runat="server" CssClass="cssLabelBold" GroupingText="4) Thông tin L6-L8">
		        <table cellspacing="0" cellpadding="1" width="100%" border="0">	                
	                <%--<tr>
		                <td align="left" style="width:30%;">
			                 <asp:label id="Label9" CssClass="cssLabel" runat="server"  Text="Có đến phòng thi không?"/>
		                </td>
		                <td>
		                    <asp:textbox id="txtdenthiLV6LV8" accessKey="n"   runat="server" 
                                MaxLength="256" Width="98%" ontextchanged="txtdenthiLV6LV8_TextChanged" />
		                </td>
	                </tr>
	                <tr>
		                <td align="left" style="width:30%;">
			                 <asp:label id="lblbaithi" CssClass="cssLabel" runat="server"  Text="Có bài thi không?"/>
		                </td>
		                <td>
		                    <asp:textbox id="txtBaithiLV6LV8" accessKey="n"  
                                 runat="server" 
                                MaxLength="256" Width="98%" />
		                </td>
	                </tr>
	                <tr>
		                <td align="left" style="width:30%;">
			                 <asp:label id="lblCodiem" CssClass="cssLabel" runat="server"  Text="Có điểm chưa? Bao nhiêu điểm? Đỗ không?"/>
		                </td>
		                <td>
		                    <asp:textbox id="txtcodiemLV6LV8" accessKey="n"  
                                 runat="server" 
                                MaxLength="256" Width="98%" />
		                </td>
	                </tr>--%>
	                <tr>
		                <td align="left" >
			                 <asp:label id="lblgiaybaotrungtuyen" CssClass="cssLabel" runat="server"  Text="Có giấy báo trúng tuyển chưa? (*)"/>
		                </td>
		                <td>
		                    <asp:textbox id="txtgiaybaotrungtuyenLV6LV8" accessKey="n" 
                                runat="server" MaxLength="256" Width="98%" />
		                </td>
                        
	                </tr>	
	                <tr>
		                <td align="left" >
			                 <asp:label id="Label10" CssClass="cssLabel" runat="server"  Text="Nhận được giấy báo trúng tuyển chưa? (*)"/>
		                </td>
		                <td >
		                    <asp:textbox id="txtnhandcgiaybaotrungtuyenLV6LV8" accessKey="n" 
                                  
                                runat="server" MaxLength="256" Width="98%" />
		                </td>
                        
	                </tr>	
	                <tr>
		                <td align="left" >
			                 <asp:label id="Label11" CssClass="cssLabel" runat="server"  Text="Nộp học phí tạm tính đọt 1 chưa? (*)"/>
		                </td>
		                <td>
		                    <asp:textbox id="txtnophocphiLV6LV8" accessKey="n"  
                                 runat="server" 
                                MaxLength="256" Width="98%" />
		                </td>
                       
	                </tr>	
	                <tr>
		                <td align="left" >
			                 <asp:label id="lblNopHoSo" CssClass="cssLabel" runat="server"  Text="Nộp đủ hồ sơ chưa? Thiếu gì? (*)"/>
		                </td>
		                <td>
		                    <asp:textbox id="txtNopHoSoLV6LV8" accessKey="n"  
                                 runat="server" 
                                MaxLength="256" Width="98%" />
		                </td>
	                </tr>	
	                <tr>
		                <td align="left" >
			                 <asp:label id="lblGhichu" CssClass="cssLabel" runat="server"  Text="Ghi chú rõ,nên làm gì? (*)"/>
		                </td>
		                <td>
		                    <asp:textbox id="txtGhichuLV6LV8" accessKey="n"  
                                 runat="server" 
                                MaxLength="1024" Width="98%" Rows="3" TextMode="MultiLine" />
		                </td>
                        <td style="width:3%;">
                            <asp:RequiredFieldValidator id="rfvGhichuLV6LV8" runat="server" ControlToValidate="txtGhichuLV6LV8" ErrorMessage="Bạn phải nhập Ghi chú rõ, nên làm gì?" Display="Static" Text="(*)" />
                        </td>
	                </tr>	
                    <tr>
                        <td> 
                              <asp:Label ID="lblNgayGoiGanNhatV6LV8" CssClass="cssLabel" runat="server" Text="Ngày gọi gần nhất:" />	
                        </td>
                         <td > 
                         
                            <ew:CalendarPopup ID="txtNgayGoiGanNhatV6LV8" runat="server" CalendarLocation="Bottom" Culture="Vietnamese (Vietnam)"
                                GoToTodayText="Ngày hiện tại: " ShowGoToToday="True" Text="Chọn" DisableTextboxEntry="false"
                                Width="70" AllowArbitraryText="False" ControlDisplay="TextBoxImage" 
                                ImageUrl="~/js/cal.gif">
                                <SelectedDateStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                    ForeColor="Black" />
                                <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                    ForeColor="Black" />
                                <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                    ForeColor="Black" />
                                <MonthHeaderStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                    ForeColor="Black" />
                                <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                    ForeColor="Black" />
                                <OffMonthStyle BackColor="AntiqueWhite" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                    Font-Size="XX-Small" ForeColor="Gray" />
                                <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                                    ForeColor="Black" />
                                <TodayDayStyle BackColor="LightGoldenrodYellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                                    Font-Size="XX-Small" ForeColor="Black" />
                            </ew:CalendarPopup>	                                    
                        </td>
                    </tr>
                  
                    <tr>
                        <td> 
                              <asp:Label ID="lblDuKienNhapHoc" CssClass="cssLabel" runat="server" Text="Mã lớp dự kiến nhập học:" />	
                        </td>
                         <td> 
                               <asp:textbox id="txtDuKienNhapHoc" accessKey="n"   runat="server"  MaxLength="512" Width="98%" />
                        </td>
                    </tr>
                    <tr>
                        <td> 
                              <asp:Label ID="lblThucNhapHoc" CssClass="cssLabel" runat="server" Text="Mã lớp thực nhập học:" />	
                        </td>
                         <td> 
                               <asp:textbox id="txtThucNhapHoc" accessKey="n"   runat="server"  MaxLength="512" Width="98%" />
                        </td>
                    </tr>
                      <tr>
                        <td colspan="2">
                            <asp:Panel ID="m_pn_l6l8_his2" runat="server" GroupingText="Lịch sử cuộc gọi">
                                <table width="100%">
                                    <tr>
                                        <td>
                                            <!-- đoạn này là lưới lịch sử gọi L6-L8 -->
                                            <asp:GridView ID="grvLichsuGoiL68" runat="server" 
                                                AlternatingRowStyle-CssClass="cssGridAlterCell" AutoGenerateColumns="False" 
                                                BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" 
                                                CellPadding="3" DataKeyNames="ID" 
                                                EmptyDataText="Chưa có lịch sử gọi ứng với vùng level này" 
                                                EnableModelValidation="True" PagerStyle-HorizontalAlign="Center" PageSize="16" 
                                                RowStyle-CssClass="cssGridCell" SelectedRowStyle-CssClass="cssSelectedRow" 
                                                Width="100%">
                                                <EditRowStyle CssClass="cssGridEdit" />
                                                <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                                                <HeaderStyle BackColor="#810C15" Font-Bold="True" ForeColor="#F7F7F7" />
                                                <PagerSettings Position="TopAndBottom" />
                                                <AlternatingRowStyle BackColor="#F7F7F7" CssClass="cssGridAlterCell" />
                                                <Columns>
                                                    <asp:TemplateField HeaderStyle-ForeColor="White" HeaderText="STT" 
                                                        ItemStyle-HorizontalAlign="Center">
                                                        <HeaderStyle ForeColor="White" />
                                                        <ItemTemplate>
                                                            <%# Container.DataItemIndex  + 1 %>
                                                        </ItemTemplate>
                                                        <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="MobilePhone" HeaderStyle-ForeColor="White" 
                                                        HeaderText="Số điện thoại" ItemStyle-HorizontalAlign="Center">
                                                    <HeaderStyle ForeColor="White" />
                                                    <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="StartTime" DataFormatString="{0:dd/MM/yyyy hh:mm}" 
                                                        HeaderStyle-ForeColor="White" HeaderText="Thời gian bắt đầu" 
                                                        ItemStyle-HorizontalAlign="Center">
                                                    <HeaderStyle ForeColor="White" />
                                                    <ItemStyle HorizontalAlign="Center" Width="15%" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="EndTime" DataFormatString="{0:dd/MM/yyyy hh:mm}" 
                                                        HeaderStyle-ForeColor="White" HeaderText="Thời gian kết thúc" 
                                                        ItemStyle-HorizontalAlign="Center">
                                                    <HeaderStyle ForeColor="White" />
                                                    <ItemStyle HorizontalAlign="Center" Width="15%" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="NoiDungCuocGoi" HeaderStyle-ForeColor="White" 
                                                        HeaderText="Nội dung cuộc gọi">
                                                    <ItemStyle HorizontalAlign="Center" Width="30%" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="Duration" DataFormatString="{0:N0}" 
                                                        HeaderStyle-ForeColor="White" HeaderText="Thời gian gọi (giây)" 
                                                        SortExpression="TenTruong">
                                                    <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                    </asp:BoundField>
                                                    <asp:TemplateField HeaderText="Nghe lại" ItemStyle-Width="7%">
                                                        <ItemTemplate>
                                                            <%--<audio src='<%# get_file_record(Eval("ID")) %>' controls="controls" preload="auto" type="audio/x-wav"></audio>--%>
                                                            <%-- <embed src='<%# get_file_record(Eval("ID")) %>'
                                                                            height="100" autostart="false"></embed>--%>
                                                            <audio id="player3" controls="controls" 
                                                                src='<%# get_file_record(Eval("ID")) %>' type="audio/x-wav">
                                                            </audio>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:HyperLinkField DataNavigateUrlFields="ID" 
                                                        DataNavigateUrlFormatString="~/FileCS.ashx?Id={0}" HeaderText="Download" 
                                                        ItemStyle-HorizontalAlign="Center" ItemStyle-Width="6%" Text="Download" />
                                                </Columns>
                                                <PagerStyle BackColor="#810C15" CssClass="cssGridPager" ForeColor="#4A3C8C" 
                                                    HorizontalAlign="Right" />
                                                <RowStyle BackColor="#E7E7FF" CssClass="cssGridCell" ForeColor="#4A3C8C" />
                                                <SelectedRowStyle BackColor="#738A9C" CssClass="cssSelectedRow" 
                                                    Font-Bold="True" ForeColor="#F7F7F7" />
                                            </asp:GridView>
                                            <!-- đoạn này là lưới lịch sử gọi L6-L8 -->
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </td>
                    </tr>
                </table>
		    </asp:Panel>
		</td>
	</tr>
	<tr>
		<td  colspan="2">
		    <asp:Panel ID="pnL10" runat="server" CssClass="cssLabelBold" 
                GroupingText="5) Thông tin L9">
		         <table cellspacing="0" cellpadding="1" width="100%" border="0">
	                <tr>
		                <td align="left" colspan="2" style="padding-left:20px;">
			                <asp:Label ID="lblTitleL9" runat="server" CssClass="cssLabelTitle" Text="Hoàn thiện hồ sơ và học phí (*) (đánh dấu V vào ô phù hợp)"></asp:Label>
		                </td>
	                </tr>
	                <%--<tr>
		                <td align="right" style="width:20%;">
			                <asp:CheckBox ID="cbxNophocphiL9" runat="server" TextAlign="Left" OnClick="JavaScript:ToggleInput(this,'ctl11_txtCD');" CssClass="cssLabel"  Text="Nộp học phí:" />
		                </td>
		                <td style="width:30%;">
		                    <ew:CalendarPopup ID="txtNgaynophocphiL9" runat="server" AllowArbitraryText="False" 
                                CalendarLocation="Bottom" ControlDisplay="TextBoxImage" 
                                Culture="Vietnamese (Vietnam)" DisableTextboxEntry="false" 
                                GoToTodayText="Ngày hiện tại: " ImageUrl="~/js/cal.gif" ShowGoToToday="True" 
                                Text="Chọn" Width="70">
                                <SelectedDateStyle BackColor="Yellow" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Black" />
                                <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <MonthHeaderStyle BackColor="Yellow" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Black" />
                                <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <OffMonthStyle BackColor="AntiqueWhite" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Gray" />
                                <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <TodayDayStyle BackColor="LightGoldenrodYellow" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Black" />
                            </ew:CalendarPopup>
		                </td>
		                <td align="right" style="width:20%;">
			                <asp:CheckBox ID="cbxNophosoL9" runat="server" TextAlign="Left" OnClick="JavaScript:ToggleInput(this,'ctl11_txtPTTH');" CssClass="cssLabel"  Text="Nộp hồ sơ:" />
		                </td>
		                <td style="width:30%;">
		                    <ew:CalendarPopup ID="txtNgaynophosoL9" runat="server" AllowArbitraryText="False" 
                                CalendarLocation="Bottom" ControlDisplay="TextBoxImage" 
                                Culture="Vietnamese (Vietnam)" DisableTextboxEntry="false" 
                                GoToTodayText="Ngày hiện tại: " ImageUrl="~/js/cal.gif" ShowGoToToday="True" 
                                Text="Chọn" Width="70">
                                <SelectedDateStyle BackColor="Yellow" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Black" />
                                <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <MonthHeaderStyle BackColor="Yellow" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Black" />
                                <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <OffMonthStyle BackColor="AntiqueWhite" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Gray" />
                                <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <TodayDayStyle BackColor="LightGoldenrodYellow" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Black" />
                            </ew:CalendarPopup>
		                </td>	
	                </tr>--%>
	                <tr>
		                <td align="right" >               
                            <asp:Label ID="lblNgayHoanThanhL9" runat="server" CssClass="cssLabel" 
                                Text="Ngày hoàn thiện:" />
			            </td>
		                <td>  
		                    <ew:CalendarPopup ID="txtNgayHoanThanhL9" runat="server" AllowArbitraryText="False" 
                                CalendarLocation="Bottom" ControlDisplay="TextBoxImage" 
                                Culture="Vietnamese (Vietnam)" DisableTextboxEntry="false" 
                                GoToTodayText="Ngày hiện tại: " ImageUrl="~/js/cal.gif" ShowGoToToday="True" 
                                Text="Chọn" Width="70">
                                <SelectedDateStyle BackColor="Yellow" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Black" />
                                <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <MonthHeaderStyle BackColor="Yellow" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Black" />
                                <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <OffMonthStyle BackColor="AntiqueWhite" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Gray" />
                                <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" 
                                    Font-Size="XX-Small" ForeColor="Black" />
                                <TodayDayStyle BackColor="LightGoldenrodYellow" 
                                    Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small" 
                                    ForeColor="Black" />
                            </ew:CalendarPopup>
		                </td>         
		            </tr>
		            <tr>
		                <td align="right" >   
		                    <asp:Label ID="lblNoiDungHoanThanhL9" runat="server" CssClass="cssLabel" 
                                Text="Ghi chú:" />
		                </td>
		                <td> 
		                    <asp:textbox id="txtNoiDungHoanThanhL9" accessKey="n" runat="server" MaxLength="512" TextMode="MultiLine"
                                Rows ="4" Width="98%" />
		                </td>
		            </tr>
                </table>
		    </asp:Panel>
		</td>
	</tr>
	<tr>
		<td  colspan="2">
		    <asp:Panel ID="pnTrangThai" runat="server"  CssClass="cssLabelBold" GroupingText="Trạng thái & Nội dung gọi">
		        <table cellspacing="0" cellpadding="1" width="100%" border="0" 
                    style="margin-top: 60px">
                
                <tr>
                        <td align="right" style="width:20%"> 
                              <asp:Label ID="lblNoiDungHoanThanhL10" runat="server" CssClass="cssLabel" 
                                  Text="Nội dung ngày gọi:" />
                        </td>
                         <td style="width:30%"> 
                         	 <asp:TextBox ID="txtNoiDungNgayGoiAll" runat="server" accessKey="n" 
                                 MaxLength="512" Rows="4" TextMode="MultiLine" Width="98%" />
                            
                        </td>
                    </tr>
                    <tr>
                        <td align="right"> 
                              <asp:Label ID="lblNgayHenGoiGanNhat" CssClass="cssLabel" runat="server" Text="Ngày hẹn gọi gần nhất:" />	
                        </td>
                         <td > 
                         	<ew:CalendarPopup ID="txtNgayHenGoiGanNhat" runat="server" CalendarLocation="Bottom" 
                Culture="Vietnamese (Vietnam)" Text="Chọn" DisableTextboxEntry="false" 
                Width="70" AllowArbitraryText="False" ControlDisplay="TextBoxImage" 
                ImageUrl="~/js/cal.gif" CellPadding="0px" Nullable="True"
                VisibleDate="">
                <SelectedDateStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Black" />
                <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <MonthHeaderStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Black" />
                <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <OffMonthStyle BackColor="AntiqueWhite" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Gray" />
                <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <TodayDayStyle BackColor="LightGoldenrodYellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Black" />
         </ew:CalendarPopup>	
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ghi chú lịch hẹn:
                            <asp:TextBox ID="txtghi_chu_lich_hen" runat="server" accessKey="n" 
                                Width="60%" />	                                    
                        </td>
                    </tr>
		         <tr id="trDiemL3_5B" runat="server">
                    <td align="right">
                        <asp:Label ID="Label12" runat="server" CssClass="cssLabel" Text="Điểm đánh giá:"></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlDiem" runat="server"></asp:DropDownList>
                    </td>
                </tr>	 
	            <tr>
		            <td align="right" style="width:20%;" >
		             <asp:label id="Label1" CssClass="cssLabel" runat="server" Text="Tr<U>ạ</U>ng thái gọi:" />
	                 </td>
	                <td style="width:80%;">
	                    <asp:DropDownList id="ddlTrangThaiGoi" runat="server" Width="220px" />
	                </td>
		        </tr>
	                <tr>
		                <td align="right">
			                 <asp:label id="lblTrangThaiAll" CssClass="cssLabel" runat="server"  Text="Trạng thái?"/>
		                </td>
		                <td align="left" >
		                    <asp:DropDownList ID="ddlTrangThaiAll" runat="server" CssClass="cssLabel"  />
		                </td>
		            </tr>
		            <tr>
		                <td align="right" valign="top">
			                 <asp:label id="lblTaiSao" CssClass="cssLabel" runat="server"  Text="Tại sao?"/>
		                </td>
		                <td align="left" >
		                    <asp:textbox id="txtTaiSao" accessKey="n"  runat="server"  MaxLength="1024" Width="98%" Rows="2" TextMode="MultiLine" Enabled="True" />
		                    <%--<asp:customvalidator id="ctvTaisao" runat="server" ControlToValidate="txtTaiSao" ErrorMessage="Bạn không được để trống ô Tại sao?" Display="Static" Text="*" />--%>
		                </td>
	                </tr>	
		        </table>
		        
		    </asp:Panel>
		</td>
	</tr>
	<tr>		
	    <td></td>
		<td align="left">
			<asp:button id="btnUpdate" accessKey="c" CausesValidation="true" CssClass="cssButton" runat="server" Width="98px" Text="Cập nhật(u)" OnClick="btnUpdate_Click" />&nbsp;
			<asp:button id="btnCancel" accessKey="r" CssClass="cssButton" runat="server" Width="98px" Text="Xóa trắng(r)" OnClick="btnCancel_Click" />			
			<asp:HiddenField ID="hdfHocVienID" runat="server" Value="0" />
			<asp:Label runat="server" ID="lblScript"></asp:Label>
		</td>
	</tr>
</table>